.class public Lcom/htc/android/footprints/commonui/ConfirmDialog;
.super Lcom/htc/android/footprints/commonui/CommonDialog;
.source "ConfirmDialog.java"


# instance fields
.field private okButton:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter "context"

    .prologue
    .line 17
    invoke-direct {p0, p1}, Lcom/htc/android/footprints/commonui/CommonDialog;-><init>(Landroid/content/Context;)V

    .line 18
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter "savedInstanceState"

    .prologue
    .line 22
    invoke-super {p0, p1}, Lcom/htc/android/footprints/commonui/CommonDialog;->onCreate(Landroid/os/Bundle;)V

    .line 24
    const v0, 0x7f030006

    invoke-virtual {p0, v0}, Lcom/htc/android/footprints/commonui/ConfirmDialog;->setContentView(I)V

    .line 26
    const v0, 0x7f0c001b

    invoke-virtual {p0, v0}, Lcom/htc/android/footprints/commonui/ConfirmDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/htc/android/footprints/commonui/ConfirmDialog;->okButton:Landroid/widget/TextView;

    .line 27
    iget-object v0, p0, Lcom/htc/android/footprints/commonui/ConfirmDialog;->okButton:Landroid/widget/TextView;

    new-instance v1, Lcom/htc/android/footprints/commonui/ConfirmDialog$1;

    invoke-direct {v1, p0}, Lcom/htc/android/footprints/commonui/ConfirmDialog$1;-><init>(Lcom/htc/android/footprints/commonui/ConfirmDialog;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 32
    return-void
.end method

.method public setMessage(Ljava/lang/String;)V
    .locals 2
    .parameter "message"

    .prologue
    .line 35
    const v1, 0x7f0c001a

    invoke-virtual {p0, v1}, Lcom/htc/android/footprints/commonui/ConfirmDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 36
    .local v0, msgText:Landroid/widget/TextView;
    if-eqz v0, :cond_0

    .line 37
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 39
    :cond_0
    return-void
.end method
